module.exports = {
	entry:'./index.js',
	output:{
		filename:'bundle.js',
		publicPath:''
	},
	module:{
		loaders:[
			{
				test:/\.js$/,
				exclude:/node_modules/,
				loader:'babel-loader?presets[]=es2015&presets[]=react'
			},
			{
				test:/\.scss$/,
				loaders:['style-loader','css-loader?modules','sass-loader']
			},
			{
				test:/\.(png|jpg)$/,
				loader:'url-loader?limit=8192'
			}
		]
	}
}